package com.zhf.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 郑海飞
 * @version 1.0
 * @description:
 * @date 2024/3/27 9:42
 */
@Configuration
public class MqConfig {
    @Bean
    public Queue queue(){
        return new Queue("bwie",true);
    }
}
